package com.emr.module.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.emr.common.base.BaseEntity;

/**
 * 疾病编码字典表 case_icd
 * 
 * @author emr
 * @date 2019-02-19
 */
public class Icd extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 疾病编码 */
	private String icdCode;
	/** 疾病名称 */
	private String idcName;
	
    /** 否存在该标识 默认不存在 */
    private boolean flag = false;

    
	public boolean isFlag() {
		return flag;
	}

//	public void setFlag(boolean flag) {
//		this.flag = flag;
//	}
	public void setFlag(boolean flag) {
		// TODO Auto-generated method stub
		this.flag = flag;
	}

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setIcdCode(String icdCode) 
	{
		this.icdCode = icdCode;
	}

	public String getIcdCode() 
	{
		return icdCode;
	}
	public void setIdcName(String idcName) 
	{
		this.idcName = idcName;
	}

	public String getIdcName() 
	{
		return idcName;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("icdCode", getIcdCode())
            .append("idcName", getIdcName())
            .toString();
    }

	
}
